package com.mlnx.device.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.device.entity.SpoDevice;
import com.mlnx.device.pojo.dto.SpoDeviceDto;
import com.mlnx.device.pojo.form.SpoDeviceFilterForm;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface SpoDeviceMapper extends BaseMapper<SpoDevice> {

    Page<SpoDeviceDto> selectDeviceDtoPage(Page<SpoDeviceDto> spoDeviceDtoPage, @Param("filter") SpoDeviceFilterForm spoDeviceFilterForm, @Param("sorter") Map<String, String> sorter);
}
